package com.my.coolq.strategy.message.impl;

import java.util.Map;

import org.springframework.stereotype.Component;

import com.my.coolq.strategy.ReceiveMessagesHandleStrategy;
import com.my.coolq.strategy.message.model.GroupMsg;
import com.my.util.MapUtils;
/**
 * 群消息
 * @author ch
 *
 */
@Component
public class GroupMessageHandleStrategy implements ReceiveMessagesHandleStrategy{

	private static final String REQUEST_TYPE="message_private";
	
	@Override
	public String getPostType() {
		return REQUEST_TYPE;
	}

	@Override
	public Object handle(Map<String, Object> params) {
		try {
			GroupMsg groupMsg = MapUtils.toObject(GroupMsg.class, params);
		}
		catch (Exception e) {
		}
		return null;
	}
}
